<include file="Base/header" />
<link href="__PUBLIC__/css/mycss.css" rel="stylesheet" type="text/css"/>
<div class="page-container">
        <include file="Base/menu" />
        <div class="page-content">
                <div class="container-fluid">
                        <div class="row-fluid">
                                <div class="span12">
                                        <!-- BEGIN PAGE TITLE & BREADCRUMB-->
                                        <h3 class="page-title">
                                        </h3>
                                        <ul class="breadcrumb">
                                                <li>
                                                        <i class="icon-home">
                                                        </i>
                                                        <a href="#">
                                                                首页
                                                        </a>
                                                        <i class="icon-angle-right">
                                                        </i>
                                                </li>
                                                <li>
                                                        <a href="#">
                                                                资讯管理
                                                        </a>
                                                </li>
                                        </ul>
                                        <!-- END PAGE TITLE & BREADCRUMB-->
                                </div>
                        </div>
                        <div class="row-fluid">
                            <div class="span12">
                                        <!-- BEGIN EXAMPLE TABLE PORTLET-->
                                <div class="portlet box blue">
                                    <div class="portlet-title">
                                        <div class="caption">
                                                <i class="icon-edit">
                                                </i>
                                                资讯列表
                                        </div>
                                        <div class="tools">
                                                <a href="javascript:;" class="collapse">
                                                </a>
                                                <a href="#portlet-config" data-toggle="modal" class="config">
                                                </a>
                                                <a href="javascript:;" class="reload">
                                                </a>
                                                <a href="javascript:;" class="remove">
                                                </a>
                                        </div>
                                        </div>
                                        <div class="portlet-body">
                                            <div class="clearfix">
                                                <div class="btn-group">
                                                    <a id="sample_editable_1_new" class="btn green" href="__URL__/add">
                                                            增加资讯
                                                        <i class="icon-plus">
                                                        </i>
                                                    </a>
                                                </div>
                                            </div>
                                            <div class="row-fluid">
                                        </div>
                    <table class="table table-striped table-hover table-bordered" id="sample_editable_1">
                        <thead>
                        <tr>
                            <th>id</th>
                            <th>标题</th>
                            <th>栏目</th>
                            <th>添加时间
                            </th>
                            <th>点击数</th>
                            <th>排序</th>
                            <th>操作</th>
                        </tr>
                    </thead>
                    <tbody>
                    <foreach name="data" item="vo">
                        <tr class="">
                            <td> {$vo.id}</td>
                            <td><a class="edit" href="__MODULE__/Article/Save?id={$vo.id}">{$vo.title}</a></td>
                            <td>{$vo.article_classify_title}</td>
                            <td>{$vo.add_time|date="Y-m-d",###}</td>
                            <td>{$vo.click}</td>
                            <td>{$vo.orderby}</td>
                            <td><a class="delete" href="__URL__/del?id={$vo.id}">删除</a></td>
                        </tr>
                    </foreach>
                </tbody>
               </table>

<!-- 分页 -->
<div class="row-fluid">
    <div class="span6">
        <div class="dataTables_info" id="sample_1_info">
          共{$count}条数据记录。
        </div>
    </div>
    <div class="span6">
        <div class="dataTables_paginate paging_bootstrap pagination">
            {$page}
        </div>
    </div>
</div>
                                                </div>
                                        </div>
                                </div>
                                <!-- END EXAMPLE TABLE PORTLET-->
                        </div>
                </div>
        </div>
</div>
</div>
<include file="Base/footer" />